home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 68.7z / BS1 part 68 / Art Expression v2.04 (1996)(Soft-Logik Publishing)(Disk 2 of 3)(BNE)[HD].7z / Art Expression v2.04 (1996)(Soft-Logik Publishing)(Disk 2 of 3)(BNE)[HD].adf / Install-BME < prev    next >
Text File  |  1992-09-04  |  2KB  |  96 lines

  1. ; BME Hard Drive Installation Script
  2.  
  3. ; set up a error cleanup routine
  4. (onerror
  5.     (makeassign "BMEInstPgm" (safe))
  6. )
  7.  
  8. (complete 0)
  9.  
  10. ; just in case the installation was restarted
  11. (makeassign "BMEInstPgm" (safe))   ; start fresh
  12.  
  13. ; see if this is really an update
  14. (set BME_dest
  15.     (tackon
  16.         (askdir
  17.             (prompt "In which disk or drawer should BME be installed?")
  18.             (help @askdir-help)
  19.             (default @default-dest)
  20.         )
  21.         "BME"
  22.     )
  23. )
  24.  
  25. ; now lock on to volume 'BME'
  26. (askdisk
  27.     (prompt "Please insert the disk labeled \"BME\".")
  28.     (help    "The BME program and related files will be copied from the "
  29.         "\"HotLinks_Editions_Program\" disk into your system."
  30.         )
  31.     (dest  "BME")
  32.     (newname "BMEInstPgm")
  33. )
  34.  
  35. (complete 33)
  36.  
  37. ; at this point we have a valid destination, so we tell installer where
  38. ; the application will end up so the exit page will be correct -- also,
  39. ; the installation log file (if any) will be copied to the destination
  40. (set @default-dest BME_dest)
  41.  
  42. ;copy all the program files from source to dest
  43. (copyfiles
  44.         (prompt "This will create a new drawer called \"BME\" and "
  45.                 "will copy the following files and drawers."
  46.         )
  47.         (source "BMEInstPgm:BME")
  48.         (dest BME_dest)
  49.         (all)
  50.         (infos)
  51.         (confirm)
  52.         (help   "BME - is the program file.\n"
  53.                 "Graphics - is a drawer containing the tutorial files.\n\n"
  54.                 @copyfiles-help
  55.         )
  56. )
  57.  
  58. (complete 66)
  59.  
  60. ;fix up the drawer icon to not be "snapshot"
  61. (tooltype
  62.     (dest BME_dest)
  63.     (noposition)
  64. )
  65.  
  66.  
  67. ;the arp library is necessary for WB 1.3 users.
  68. (set answer1
  69.     (askbool (choices "Copy Arp.Library" "Do not Copy Arp.Library")
  70.          (prompt "Do you need the Arp.Library? \"Select Help for information on Arp.\"")
  71.          (help
  72.             "AmigaDOS 1.2 and 1.3 do not have a standard system file "
  73.             "requester. The Arp.Library provides a standardized file "
  74.             "requester to BME. If you do not have the Arp.Library "
  75.             "file already installed, select Copy. If you are unsure "
  76.             "if you have it, select Copy. BME will not work with "
  77.             "AmigaDOS 1.2 or 1.3 without the Arp.Library file!\n"
  78.             "AmigaDOS 2.0 users should select Do not Copy.")
  79.          (default 1)
  80.     )
  81. )
  82. (if answer1
  83.     (copyfiles
  84.         (source "BMEInstPgm:libs/arp.library")
  85.         (dest "LIBS:")
  86.     )
  87. )
  88.  
  89. (complete 100)
  90.  
  91. ;cleanup
  92. (makeassign "BMEInstPgm" (safe))
  93.  
  94. ;done, so get out
  95. (exit)
  96.